<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content " id="app">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${image.id}" type="hidden">
						<input id="Ttype" name="Ttype" th:value="${image.category}" type="hidden">
						<div class="form-group">
							<label class="col-sm-3 control-label">类型：</label>
							<div class="col-sm-8">
								<select data-placeholder="--选择类别--" name="category" id="category"
										class="form-control chosen-select" tabindex="2">
									<option value="">-- 选择类别 --</option>
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">标题：</label>
							<div class="col-sm-8">
								<input id="title" name="title" th:value="${image.title}"
									   class="form-control" type="text">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">有效期：</label>
							<div class="col-sm-8">
								<input id="activeDate" name="activeDate" th:value="${image.activeDate}" class="form-control" type="date">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">图片地址：</label>
							<div class="col-sm-8">
								<input id="url" name="url" th:value="${image.url}"
									   class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/adminv1/image/edit.js">

</script>
</body>
</html>
